<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>添加问卷调查</title>
		<meta name="renderer" content="webkit">
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
		<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
		<link rel="stylesheet" href="../../lib/layui-v2.5.5/css/layui.css" media="all">
		<link rel="stylesheet" href="../../css/public.css" media="all">

	</head>
	<body>

		<div class="layuimini-container">
			<div class="layuimini-main">

				<form class="layui-form layuimini-form" action="" lay-filter="example">
					<div class="layui-form-item">
						<div class="layui-input-block">1.您认为一个企业的成功，员工培训是必要的吗？</div>
						<div class="layui-input-block">
							<select name="ans1">
								<option value="">请选择</option>
								<option value="0">是</option>
								<option value="1">否</option>
								<option value="2">没有影响</option>

							</select>
						</div>
					</div>
					<div class="layui-form-item">
						<div class="layui-input-block">2.您认为员工主动学习新知识、新技能的动机是什么？</div>
						<div class="layui-input-block">
							<input type="checkbox" name="like[write]" title="增强工作技能"><br />
							<input type="checkbox" name="like[read]" title="实际工作需要,否则会影响自己的绩效"><br />
							<input type="checkbox" name="like[daze]" title="只是个人兴趣爱好"><br />
							<input type="checkbox" name="like[daze]" title="其他">
						</div>
					</div>
					<div class="layui-form-item">
						<div class="layui-input-block">3.您认为员工现在最需要的是什么培训？</div>
						<div class="layui-input-block">
							<input type="checkbox" name="like[write]" title="专业知识"><br />
							<input type="checkbox" name="like[read]" title="安全质量"><br />
							<input type="checkbox" name="like[daze]" title="管理能力"><br />
							<input type="checkbox" name="like[daze]" title="工作技能"><br />
							<input type="checkbox" name="like[daze]" title="其他">
						</div>
					</div>
					<div class="layui-input-block">4.您认为对员工来说，每次培训课多长时间最合适？</div>
					<div class="layui-input-block">
						<select name="ans1">
							<option value="">请选择</option>
							<option value="0">是</option>
							<option value="1">否</option>
							<option value="2">没有影响</option>

						</select>
					</div>
			</div>
			<div class="layui-input-block">5.您认为对员工来说，培训频率多久为佳？</div>
			<div class="layui-input-block">
				<select name="ans1">
					<option value="">请选择</option>
					<option value="0">是</option>
					<option value="1">否</option>
					<option value="2">没有影响</option>

				</select>
			</div>
		</div>
		<div class="layui-input-block">6.您认为培训安排在什么时间比较适宜？</div>
		<div class="layui-input-block">
			<select name="ans1">
				<option value="">请选择</option>
				<option value="0">是</option>
				<option value="1">否</option>
				<option value="2">没有影响</option>

			</select>
		</div>
		</div>
		<div class="layui-input-block">7.您认为过去一年为员工设计的培训最让您满意的是下面哪一项？</div>
		<div class="layui-input-block">
			<select name="ans1">
				<option value="">请选择</option>
				<option value="0">是</option>
				<option value="1">否</option>
				<option value="2">没有影响</option>

			</select>
		</div>
		</div>
		<div class="layui-input-block">8.您认为培训对您的员工个人发展及工作绩效提升的关联程度如何？</div>
		<div class="layui-input-block">
			<select name="ans1">
				<option value="">请选择</option>
				<option value="0">是</option>
				<option value="1">否</option>
				<option value="2">没有影响</option>

			</select>
		</div>
		</div>
		<div class="layui-form-item">
			<div class="layui-input-block">9.企业员工通常在哪里培训？</div>
			<div class="layui-input-block">
				<input type="checkbox" name="like[write]" title="企业内部的会议室"><br />
				<input type="checkbox" name="like[read]" title="作用酒店会议室"><br />
				<input type="checkbox" name="like[daze]" title="户外拓展"><br />

				<input type="checkbox" name="like[daze]" title="其他">
			</div>
		</div>
		<div class="layui-form-item">
			<div class="layui-input-block">10.企业员工参加的培训方式主要是以下哪几种？</div>
			<div class="layui-input-block">
				<input type="checkbox" name="like[write]" title="主题内训"><br />
				<input type="checkbox" name="like[read]" title="外聘讲师主题内训"><br />
				<input type="checkbox" name="like[daze]" title="工作技能培训"><br />
				<input type="checkbox" name="like[daze]" title="户外拓展培训"><br />
				<input type="checkbox" name="like[daze]" title="其他">
			</div>
		</div>
		<div class="layui-form-item">
			<div class="layui-input-block">
				<button class="layui-btn" lay-submit="" lay-filter="demo1">立即提交</button>
				<button class="layui-btn" lay-submit="" lay-filter="demo1">重置</button>
			</div>
		</div>
		</form>
		</div>
		</div>

		<script src="../../lib/layui-v2.5.5/layui.js" charset="utf-8"></script>
		<!-- 注意：如果你直接复制所有代码到本地，上述js路径需要改成你本地的 -->
		<script>
			layui.use(['form'], function() {
				var form = layui.form,
					layer = layui.layer;


				//自定义验证规则
				form.verify({
					aaa: function(value) {
						if (value.length < 5) {
							return '标题至少得5个字符啊';
						}
					},
					pass: [
						/^[\S]{6,12}$/, '密码必须6到12位，且不能出现空格'
					],
					content: function(value) {
						layedit.sync(editIndex);
					}
				});

				//监听提交
				form.on('submit(demo1)', function(data) {
					layer.alert(JSON.stringify(data.field), {
						title: '最终的提交信息'
					})
					return false;
				});



			});
		</script>

	</body>
</html>